#include <iostream>
#include <vector>
#include <array>
int main(int argc, char const *argv[])
{
	using namespace std;
	double a1[4] = {1.2,2.4,3.6,4.8};
	vector<double> a2(4);
	a2[0] =1/3.0;
	a2[1] =1/5.0;
	a2[2] =1/7.0;
	a2[3] =1/9.0;

	array<double,4> a3 ={3.14,6.28,9.14,1.41};
	array<double,4> a4;
	a4 = a3;
	cout << "a１[2]:　"<< a1[2] <<" at "<<&a1[2]<<endl;
	cout << "a２[2]:　"<< a２[2] <<" at "<<&a２[2]<<endl;
	cout << "a３[2]:　"<< a1[2] <<" at "<<&a1[2]<<endl;
	cout << "a1[2]:　"<< a1[2] <<" at "<<&a1[2]<<endl;
	cout << "a1[2]:　"<< a1[2] <<" at "<<&a1[2]<<endl;

	return 0;
}